<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>选择器【群组+派生】</title>
		<style>
			/* 选择器：群组选择器---选择所有选择器选中的元素  语法：元素选择器,类选择器,id选择器*/
			p,div,#table,dl{
				width: 200px;
				height: 200px;
				background: #b5eeac;
			}
			/* 派生选择器：后代选择器---选中父元素下的所有子元素 
			语法：[父元素]元素选择器  [子]元素选择器 */
			ul li{
				width: 100px;
				height: 100px;
				background: #e1ee9c;
			}
		</style>
	</head>
	<body>
		<ul>
			<li>好东西</li>
			<li>飞驰人生</li>
			<li>鸳鸯楼</li>
			<li>好运来</li>
		</ul>
		
		
		
		
		<hr />
		<!-- 块元素：特点：可以设置宽高，独占一行 -->
		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magnam beatae molestiae modi iure impedit sed, esse ut debitis vero architecto reprehenderit cumque quae suscipit quasi odit alias fugiat! Commodi, quidem?</p>
		<div>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Nostrum, esse architecto, vel nesciunt asperiores, quidem aliquid expedita maxime vitae possimus molestias ipsa in fuga iusto deleniti cumque laboriosam pariatur minus.</div>
		<h2>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Delectus, voluptatibus ad? Debitis aperiam ut, totam nihil iste sit tempora? Quas voluptate voluptas quos ad fugiat maxime nobis aliquid accusantium ratione.</h2>
		<table>
			<tr>
				<td>lorem</td>
				<td>lorem</td>
			</tr>
			<tr>
				<td>lorem</td>
				<td>lorem</td>
			</tr>
		</table>
		<dl class="dl">
			<dt>图</dt>
			<dd>解释图</dd>
		</dl>
	</body>
</html>